import request from './request';

export const authApi = {
  login: (params) => {
    return request.post('/auth/login', params);
  },

  getUserInfo: () => {
    return request.get('/user/profile');
  }
};

